import { axios } from '@/utils/request'

export function getNotice (id) {
  return axios({
    url: '/notice/get',
    methond: 'get',
    params: {
      id: id
    }
  })
}

export function readAll (id) {
  return axios({
    url: 'notice/read',
    methond: 'get',
    params: {
      id: id
    }
  })
}

export function getCounts (id) {
  return axios({
    url: '/notice/count',
    methond: 'get',
    params: {
      id: id
    }
  })
}
